package com.woniu.product.service;

import com.woniu.product.client.param.ReceiveCouponParam;
import com.woniu.product.infra.model.CouponReceive;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.product.service.dto.ReceiveRecordDto;
import com.woniu.product.service.form.ReceiveCouponServiceParam;

import java.util.List;

/**
 * <p>
 * 优惠券领取记录表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
public interface CouponReceiveService extends IService<CouponReceive> {
    //优惠券领取记录
    public List<ReceiveRecordDto> receiveRecord(Integer userId, String state);

    void updateReceiveRecord(Integer receiveRecordId);

    void receiveCoupon(ReceiveCouponServiceParam receiveCouponServiceParam);

}
